#ifndef _ECMCONF_H_
#define _ECMCONF_H_

extern ECMBOOL	force;

extern char	*econf_path;
extern sr_t	*sr_conf;

extern ECMBOOL is_service_started(const char *name, const char *svcname);
extern ECMBOOL start_service(const char *name, const char *svcname, const char *args);
extern ECMBOOL stop_service(const char *name, const char *svcname);
extern ECMBOOL install_service(const char *name, const char *svcname, const char *dispname, const char *dep, const char *args);
extern ECMBOOL remove_service(const char *name, const char *svcname);

extern int ecmconf_install(sr_t *sr_conf);
extern int ecmconf_remove(void);
extern int ecmconf_status(sr_t *sr_conf);

extern void print_verbose(const char *fmt, ...);

#endif
